package BlogService.beans;

import java.util.HashSet;
import BlogService.beans.User;

public class Interest {
	private int idInterest;
	private String nom;
	public HashSet<User> userInterest = new HashSet<User>();

	public Interest() {
		throw new UnsupportedOperationException();
	}

	public String toString() {
		throw new UnsupportedOperationException();
	}

	public void setIdInterest(int pIdInterest) {
		this.idInterest = pIdInterest;
	}

	public int getIdInterest() {
		return this.idInterest;
	}

	public void setNom(String pNom) {
		this.nom = pNom;
	}

	public String getNom() {
		return this.nom;
	}
}